import axios from 'axios'

/**
 * 注册请求
 */
export const list = (page, size) =>
  axios.get('http://localhost:3000/log/list', {
    params: { page, size }
  })

/** 删除日志 */
export const deleteLog = logId =>
  axios.post('http://localhost:3000/log/delete', { id: logId })
